//
//  JYShowView.h
//  JYFarm
//
//  Created by 花花 on 2017/10/13.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>

#define showView_width Screen_Width * 0.8
#define showView_height 225
typedef NS_ENUM(NSInteger,JYShowType){
    JYShowTypeCancel,//取消
    JYShowTypeDone //确定
};
typedef void(^ShowBtnBolck)(JYShowType type);



@interface JYShowView : UIView

- (instancetype)showText:(NSString *)text isSected:(BOOL)isSected btnHandler:(ShowBtnBolck)hander;

@end




@interface JYNoGoodsShowView : UIView
typedef void(^ButtonOnClickHandler)();

- (instancetype)showText:(NSString *)text  onClickHandler:(ButtonOnClickHandler)onClickHandler;

@end

